package com.yfuxdeer.youchat.dao;

import com.yfuxdeer.youchat.pojo.FriendItem;

import java.util.List;

public interface FriendDao {
    List<FriendItem> findAll(String username) throws Exception;

    FriendItem findById(String host_id, String friend_id) throws Exception;

    void add(String host_id, String friend_id) throws Exception;

    void updateRemarkByIds(String host_id,String friend_id,String remark) throws Exception;

    void delete(String host_id, String friend_id) throws Exception;
}
